<%@page import="com.hbyj.hbm.vo.Members"%>
<%@page import="com.hbyj.hbm.vo.DepartmentCategory"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.Set"%>
<%@page import="com.hbyj.hbm.vo.Roles"%>
<%@page import="com.hbyj.hbm.vo.MemberRole"%>
<%@page import="com.hbyj.hbm.vo.Departments"%><%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Members mbInfo = (Members)request.getSession().getAttribute("SysUser");
String lyCode = mbInfo.getLyCode();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="../style/zbCss/defaultStyle.css" />
	<link rel="stylesheet" type="text/css" href="../style/zbCss/easyui.css" />
	<link rel="stylesheet" type="text/css" href="../style/zbCss/icon.css" />
	<link rel="stylesheet" type="text/css" href="../style/zbCss/pageTable.css" />
 
	 <script type="text/javascript" src="../lib/data.js"></script>
	<script type="text/javascript" src="../lib/easyui/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="../lib/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../lib/easyui/json2.js"></script>
	<script type="text/javascript"src="../My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="../js/util.js"></script>
	<script type="text/javascript" src="../js/functionforjsp/yjdc5jbqkQuery.js"></script>
	
	<script type="text/javascript">
		$(function(){
			//////////////////信息查询初始化
			var lyCodeStr = "<%=lyCode%>";
			var shengCode = lyCodeStr.substring(0,2);
			var shiCode = lyCodeStr.substring(2,4)=="00"?"00":lyCodeStr.substring(0,4)+"00";
			var xianCode = lyCodeStr.substring(4,6)=="00"?"00":lyCodeStr;
			
		setOption('china','sheng');
	 	$("#sheng").attr("disabled","disabled");
        setSltDefaultVal("sheng","420000");
        changeShengItem(document.getElementById("sheng").value,'shi');
         if(shiCode!="00"){
            	setSltDefaultVal("shi",shiCode);
				changeShiItem($("#shi").val(),'xian');
				$("#shi").attr("disabled","disabled");
            }
            if(xianCode!="00"){
            	setSltDefaultVal("shi",shiCode);
				changeShiItem($("#shi").val(),'xian');
				$("#shi").attr("disabled","disabled");
				setSltDefaultVal("xian",xianCode);
				$("#xian").attr("disabled","disabled");
            }
        ////初始化结果框
        initTblyjdc01();
        
        
        $("#dingweiResultDlg").dialog({
				draggable : true,
				top : 50,
				left : 100,
				title : "定位信息",
				collapsible : true,
				onClose:whenDingweiDlgClose
		});
		$("#dingweiResultDlg").dialog("close");
		
	})
		
	</script>
	<style type="text/css">
		.queryTd{border:1px solid #D8DBE0;}
	</style>
 </head>
  
  <body >
		 <select style="display: none" id="sheng" onchange="changeShengItem(this.value,'shi')"><option  selected="selected" value="" >请选择省</option></select>
    <table class="innerStyle"  style="width: 90%">
	<tr><td>省市区划</td>
	<td><select id="shi" 	onchange="changeShiItem(this.value,'xian');">
	<option  selected="selected" value="-1">湖北省</option></select></td><td>县级区划</td><td>
	<select id="xian">
	<option  selected="selected" value="-1">请选择县</option></select></td></tr>
	<tr><td>调查日期</td><td colspan="3">
	<input class="Wdate" 
	 onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" type="text" id="sTime"/>
	—<input class="Wdate" type="text" id="eTime"  onfocus="WdatePicker({startDate:'%y-%M-30 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"  />
	
									<input type="button" id="queryBtn_zbry" value="查询" class="btn_2z"
										onclick="queryBtn_yjdcinfo()" />
								</td></tr>
	</table>
	<table id="tblyjdc01" ></table>
	
	<div id="dingweiResultDlg" style="width:340px;height:200px;">
		<table id="queryDingweiResultTable" style="font-size:11px;width:300px;border-collapse: collapse;" >
		</table>
	</div>
	
	</body>
</html>
